package com.netty.demo.server.utils;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Administrator 余秀良
 * @version 1.0
 * <p>date: 2019年10月08日  09:12 </p>
 * <p>address: 四川成都 </p>
 */
@Data
@XmlRootElement(name = "id")
@XmlAccessorType(XmlAccessType.NONE)
public class IdElement {
    @XmlElement(name = "name")
    private NameElement name;
    @XmlElement(name = "age")
    private String age;
}
